const integer = (character:string) => (('#' === character) ? 1 : 0);
const character = (str:string) => str.trim().split('').map(integer);

const a = character(
  '.#####.' +
  '#.....#' +
  '#.....#' +
  '#######' +
  '#.....#' +
  '#.....#' +
  '#.....#'
);
const b = character(
  '######.' +
  '#.....#' +
  '#.....#' +
  '######.' +
  '#.....#' +
  '#.....#' +
  '######.'
);
const c = character(
  '.######' +
  '#......' +
  '#......' +
  '#......' +
  '#......' +
  '#......' +
  '.######'
);

export const labeledSamples = [
  { input: a, output: { a: 1 } },
  { input: b, output: { b: 1 } },
  { input: c, output: { c: 1 } },
]
export const testSample = character(
  '.#####.' +
  '#.....#' +
  '#.....#' +
  '.##..##' +
  '#.....#' +
  '#.....#' +
  '#.....#'
);
// console.log('labeled samples', a, b, c)
// console.log('test sample', testSample)
